
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第 5 章 常见问题总结 · 大数据 bigdata_oozie_atguigu 课堂笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content=" 李振超">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism-solarizedlight.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-change_girls/girls.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.atguigu.com/" target="_blank" class="custom-link">联系我们</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    第 1 章 Oozie 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    第 2 章 Oozie 的功能模块介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="di-3-zhang-oozie-bu-shu.html">
            
                <a href="di-3-zhang-oozie-bu-shu.html">
            
                    
                    第 3 章 Oozie 部署
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.html">
            
                <a href="di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.html">
            
                    
                    3.1 部署 CDH 版本的 Hadoop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.html">
            
                <a href="di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.html">
            
                    
                    3.2 部署 CDH 版本的 Oozie
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="di-4-zhang-oozie-de-shi-yong-an-li.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li.html">
            
                    
                    第 4 章 Oozie 的使用案例
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="di-4-zhang-oozie-de-shi-yong-an-li/41-an-li-4e003a-oozie-diao-du-shell-jiao-ben.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/41-an-li-4e003a-oozie-diao-du-shell-jiao-ben.html">
            
                    
                    4.1 案例一: Oozie调度shell脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="di-4-zhang-oozie-de-shi-yong-an-li/42-an-li-er-ff1a-oozie-luo-ji-diao-du-zhi-xing-duo-ge-job.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/42-an-li-er-ff1a-oozie-luo-ji-diao-du-zhi-xing-duo-ge-job.html">
            
                    
                    4.2 案例二：Oozie 逻辑调度执行多个 Job
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="di-4-zhang-oozie-de-shi-yong-an-li/43-an-li-4e093a-oozie-diao-du-mapreduce-ren-wu.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/43-an-li-4e093a-oozie-diao-du-mapreduce-ren-wu.html">
            
                    
                    4.3 案例三: Oozie 调度 MapReduce 任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html">
            
                    
                    4.4 案例四: Oozie 定时任务/循环任务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="1.5" data-path="di-5-zhang-chang-jian-wen-ti-zong-jie.html">
            
                <a href="di-5-zhang-chang-jian-wen-ti-zong-jie.html">
            
                    
                    第 5 章 常见问题总结
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >第 5 章 常见问题总结</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;-5-&#x7AE0;-&#x5E38;&#x89C1;&#x95EE;&#x9898;&#x603B;&#x7ED3;">&#x7B2C; 5 &#x7AE0; &#x5E38;&#x89C1;&#x95EE;&#x9898;&#x603B;&#x7ED3;</h1>
<p>1&#xFF09;Mysql&#x6743;&#x9650;&#x914D;&#x7F6E;
&#x6388;&#x6743;&#x6240;&#x6709;&#x4E3B;&#x673A;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;root&#x7528;&#x6237;&#x64CD;&#x4F5C;&#x6240;&#x6709;&#x6570;&#x636E;&#x5E93;&#x548C;&#x6570;&#x636E;&#x8868;
mysql&gt; grant all on <em>.</em> to root@&apos;%&apos; identified by &apos;000000&apos;;
mysql&gt; flush privileges;
mysql&gt; exit;</p>
<p>2&#xFF09;workflow.xml&#x914D;&#x7F6E;&#x7684;&#x65F6;&#x5019;&#x4E0D;&#x8981;&#x5FFD;&#x7565;file&#x5C5E;&#x6027;</p>
<p>3&#xFF09;jps&#x67E5;&#x770B;&#x8FDB;&#x7A0B;&#x65F6;&#xFF0C;&#x6CE8;&#x610F;&#x6709;&#x6CA1;&#x6709;bootstrap</p>
<p>4&#xFF09;&#x5173;&#x95ED;oozie
&#x5982;&#x679C;bin/oozied.sh stop&#x65E0;&#x6CD5;&#x5173;&#x95ED;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;kill -9 [pid]&#xFF0C;&#x4E4B;&#x540E;oozie-server/temp/xxx.pid&#x6587;&#x4EF6;&#x4E00;&#x5B9A;&#x8981;&#x5220;&#x9664;&#x3002;</p>
<p>5&#xFF09;Oozie&#x91CD;&#x65B0;&#x6253;&#x5305;&#x65F6;&#xFF0C;&#x4E00;&#x5B9A;&#x8981;&#x6CE8;&#x610F;&#x5148;&#x5173;&#x95ED;&#x8FDB;&#x7A0B;&#xFF0C;&#x5220;&#x9664;&#x5BF9;&#x5E94;&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x9762;&#x7684;pid&#x6587;&#x4EF6;&#x3002;&#xFF08;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x7B2C;4&#x6761;&#x76EE;&#xFF09;</p>
<p>6&#xFF09;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E00;&#x5B9A;&#x8981;&#x751F;&#x6548;
&#x8D77;&#x59CB;&#x6807;&#x7B7E;&#x548C;&#x7ED3;&#x675F;&#x6807;&#x7B7E;&#x65E0;&#x5BF9;&#x5E94;&#x5219;&#x4E0D;&#x751F;&#x6548;&#xFF0C;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7684;&#x5C5E;&#x6027;&#x5199;&#x9519;&#x4E86;&#xFF0C;&#x90A3;&#x4E48;&#x5219;&#x6267;&#x884C;&#x9ED8;&#x8BA4;&#x7684;&#x5C5E;&#x6027;&#x3002;</p>
<p>7&#xFF09;libext&#x4E0B;&#x8FB9;&#x7684;jar&#x5B58;&#x653E;&#x4E8E;&#x67D0;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#xFF0C;&#x5BFC;&#x81F4;share/lib&#x521B;&#x5EFA;&#x4E0D;&#x6210;&#x529F;&#x3002;</p>
<p>8&#xFF09;&#x8C03;&#x5EA6;&#x4EFB;&#x52A1;&#x65F6;&#xFF0C;&#x627E;&#x4E0D;&#x5230;&#x6307;&#x5B9A;&#x7684;&#x811A;&#x672C;&#xFF0C;&#x53EF;&#x80FD;&#x662F;oozie-site.xml&#x91CC;&#x9762;&#x7684;Hadoop&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x6CA1;&#x6709;&#x5173;&#x8054;&#x4E0A;&#x3002;</p>
<p>9&#xFF09;&#x4FEE;&#x6539;Hadoop&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x9700;&#x8981;&#x91CD;&#x542F;&#x96C6;&#x7FA4;&#x3002;&#x4E00;&#x5B9A;&#x8981;&#x8BB0;&#x5F97;scp&#x5230;&#x5176;&#x4ED6;&#x8282;&#x70B9;&#x3002;</p>
<p>10&#xFF09;JobHistoryServer&#x5FC5;&#x987B;&#x5F00;&#x542F;&#xFF0C;&#x96C6;&#x7FA4;&#x8981;&#x91CD;&#x542F;&#x7684;&#x3002;</p>
<p>11&#xFF09;Mysql&#x914D;&#x7F6E;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x751F;&#x6548;&#x7684;&#x8BDD;&#xFF0C;&#x9ED8;&#x8BA4;&#x4F7F;&#x7528;derby&#x6570;&#x636E;&#x5E93;&#x3002;</p>
<p>12&#xFF09;&#x5728;&#x672C;&#x5730;&#x4FEE;&#x6539;&#x5B8C;&#x6210;&#x7684;job&#x914D;&#x7F6E;&#xFF0C;&#x5FC5;&#x987B;&#x91CD;&#x65B0;&#x4E0A;&#x4F20;&#x5230;HDFS&#x3002;</p>
<p>13&#xFF09;&#x5C06;HDFS&#x4E2D;&#x4E0A;&#x4F20;&#x7684;oozie&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E0B;&#x8F7D;&#x4E0B;&#x6765;&#x67E5;&#x770B;&#x662F;&#x5426;&#x6709;&#x9519;&#x8BEF;&#x3002;</p>
<p>14&#xFF09;Linux&#x7528;&#x6237;&#x540D;&#x548C;Hadoop&#x7684;&#x7528;&#x6237;&#x540D;&#x4E0D;&#x4E00;&#x81F4;&#x3002;</p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; &#x5C1A;&#x7845;&#x8C37;&#x5927;&#x6570;&#x636E; 2019 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification"><br>&#x8BE5;&#x6587;&#x4EF6;&#x6700;&#x540E;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-11-20 18:13:55
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 4.4 案例四: Oozie 定时任务/循环任务">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第 5 章 常见问题总结","level":"1.5","depth":1,"previous":{"title":"4.4 案例四: Oozie 定时任务/循环任务","level":"1.4.4","depth":2,"path":"di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.md","ref":"di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter","expandable-chapters-small","page-toc-button","-highlight","prism","prism-themes","tbfed-pagefooter","sitemap","change_girls","livereload"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy 尚硅谷大数据 2019","modify_label":"<br>该文件最后修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prismjs/themes/prism-solarizedlight.css"]},"disqus":{"shortName":"zhenchao125"},"livereload":{},"splitter":{},"change_girls":{"time":30,"urls":["http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/62171757.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/83394736.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3394270.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/65028582.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/20359261.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/37472401.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3355397.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/11075549.jpg-atguiguImg"]},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sitemap":{"hostname":"http://bigdataatguigu.applinzi.com/"},"page-toc-button":{"maxTocDepth":3,"minTocSize":2},"prism-themes":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":" 李振超","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"大数据 bigdata_oozie_atguigu 课堂笔记","language":"zh-hans","links":{"sidebar":{"联系我们":"http://www.atguigu.com/"}},"gitbook":"*","description":"课堂笔记,学生提前预习"},"file":{"path":"di-5-zhang-chang-jian-wen-ti-zong-jie.md","mtime":"2018-11-20T10:13:55.165Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-02T04:57:56.681Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-change_girls/girls.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

